<%@ page language="java" import="java.util.*,edu.nanyang.domain.User"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	Object o = session.getAttribute("user");
	if (o != null) {
		User user = (User) o;
		if (!"2".equals(user.getLogin())) {
			response.sendRedirect("login.jsp?result=您的权限不足");
		}
	} else {
		request.setAttribute("result", "您尚未登录");
		response.sendRedirect("login.jsp");
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<script src="Style11/menu.js" type="text/javascript"/>
		<script type="text/javascript">
			function start(){
			}
			function stop(){
			}
		</script>
		<link rel="stylesheet" href="Style11/default.css" type="text/css" />
		<title>用户管理后台</title>
		<dl id="header">
			<dd style="float: left;">
				<li style="font-size: 30px; float: left;">
					用户管理中心-普通用户
				</li>
			</dd>
		</dl>
		<div id="contents">
			<div class="left">
				<ul class="bigbtu">

				</ul>
				<div class="menu_top"></div>
				<div class="menu" id="TabPage3">
					<ul id="TabPage2">
						<li id="left_tab1" class="Selected"
							onClick="javascript:border_left('TabPage2','left_tab1');"
							title="常用" style="height: 100px;">
							普通用户界面
						</li>


					</ul>
					<div id="left_menu_cnt">
						<ul id="dleft_tab1">
							<li id="now11" class="Selected">
								<a href="userbasicinfo.jsp"
									onClick="go_cmdurl('查看我的基本信息',this);" target="content3"
									title="查看我的基本信息">查看我的基本信息</a>
							</li>
							<li id="now13">
								<a href="user/myGoods.jsp" onClick="go_cmdurl('查看我发布的信息',this);"
									target="content3" title="查看我发布的信息">查看我发布的信息</a>
							</li>
							<li id="now14">
								<a href="release.jsp" onClick="go_cmdurl('添加发布信息',this)"
									target="content3" title="添加发布信息">添加发布信息</a>
							</li>
							<li id="now1a">
								<a href="user/paipai.jsp" onClick="go_cmdurl('我参与的竞拍',this);"
									target="content3" title="我参与的竞拍">我参与的竞拍</a>
							</li>
							<li id="now1a">
								<a href="user/getGonggao.jsp" onClick="go_cmdurl('查看公告',this);"
									target="content3" title="查看公告">查看公告</a>
							</li>
							<li id="now1a">
								<a href="login.jsp" title="切换用户">切换用户</a>
							</li>
							<li id="now1a">
								<a href="main.jsp" title="返回到首页">返回到首页</a>
							</li>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
				<div class="menu_end"></div>
			</div>
			<div class="right">
				<ul id="TabPage1">
					<li id="Tab1" class="Selected"
						onClick="javascript:switchTab('TabPage1','Tab1');" title="首页">
						首页
					</li>
					<li id="Tab3" onClick="javascript:switchTab('TabPage1','Tab3');">
						<span id="dnow99" style="display: block;width: 100px;">空白</span>
					</li>
				</ul>
				<div id="cnt">
					<div id="dTab1" class="Box">
						<iframe src="#" name="content1" frameborder="0" scrolling="auto"></iframe>
					</div>
					<div id="dTab2" class="HackBox Box">
						<iframe src="#" name="content2" frameborder="0"
							scrolling="auto"></iframe>
					</div>
					<div id="dTab3" class="HackBox Box">
						<iframe src="#" name="content3" id="content3"
							frameborder="0" scrolling="auto"></iframe>
					</div>
				</div>
			</div>
			<div class="clear"></div>
		</div>
		</body>
</html>

